package hwconsumerosgi;



import org.apache.log4j.Logger;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

import osgi.common.services.LoggerHelper;



public class Activator implements BundleActivator {
	
	/**
	 * Logger for this class
	 */
	protected static final Logger logger = LoggerHelper.getLogger(Activator.class);
	

	protected BundleContext _context;


	
	@Override
	public void start(BundleContext context) throws Exception {
		
		
		logger.info("start(BundleContext) - start");

	
		_context = context;


		logger.info("start(BundleContext) - end");
	}

	
	@Override
	public void stop(BundleContext context) throws Exception {
		
		
		//service = null;
		_context = null;
		
		logger.info("stop(BundleContext) - end");
		
	}

	

}
